<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>努力学习JavaScript</title>
    <body>
        <style>
            div{
                height: 200px;
                width: 300px;
                background-color: orange;
                color: white;
                text-align: center;
                margin: 200px auto;
                line-height: 190px;
                border: 50px solid #000;
                margin: 100px;
                font-size: 22px;
            }
        </style>
    </body>
</head>
<body>
    <div>
    <script>
    document.write("<h1>努力学习JavaScript</h1>");
    </script>
    </div>
</body>
</html>